package com.yonghui.summer.annotation;

import com.yonghui.summer.enums.DataBase;

import java.lang.annotation.*;

/**
 * @auther yangchuan
 * @date 2021-03-22 18:16
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.SOURCE)
@Documented
public @interface Dao {
    String value() default "";

    /**
     * 数据库
     * @return
     */
    DataBase db() default DataBase.promotion;

    String dataBase() default "";
}
